﻿@model Jb.Web.ViewModels.RegisterModel
@using Jb.Web.Utility;

@{
	String pageTitle = "Register as Job Seeker at " + ConfigReader.SiteName;    
    ViewBag.Title = Html.GetPageTitle(pageTitle);
}

<div class="jb-page-heading">
    <h1>@pageTitle</h1>
    <div>Register in @ConfigReader.SiteName with an Email Address. Then build your profile to be visible to the employeers.</div>
</div>
<div class="jb-page-content">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

	if (Model == null)
    {
        @: @Html.ErrorMessageBox("Sorry! Requested Model was not found for edit.")
    }
	else
	{
		<div class="editor-label">
			@Html.LabelFor(model => model.Email)
		</div>
		<div class="editor-field">
			@Html.TextBoxFor(model => model.Email)
			@Html.ValidationMessageFor(model => model.Email)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.Password)
		</div>
		<div class="editor-field">
			@Html.PasswordFor(model => model.Password)
			@Html.ValidationMessageFor(model => model.Password)
		</div>
		<div class="editor-label">
			@Html.LabelFor(model => model.ConfirmPassword)
		</div>
		<div class="editor-field">
			@Html.PasswordFor(model => model.ConfirmPassword)
			@Html.ValidationMessageFor(model => model.ConfirmPassword)
		</div>
		<div>
			<button class="btn btn-primary" type="submit"><i class="icon-hdd icon-white"></i> Save</button>
		</div>		
	}
}
</div>

@section RightSideBar
{
   <ul class="nav nav-list">
        <li>Advertisement One</li>
        <li>Advertisement Two</li>
        <li>Advertisement Three</li>
        <li>Advertisement Four</li>
    </ul>
}

@section JavaScriptPlaceHolder
{
@Html.JavaScript("jquery.validate.min.js", Url)
@Html.JavaScript("jquery.validate.unobtrusive.min.js", Url)
}

